﻿namespace BEGDC.CC.Web.Workflow
{
    #region Using Directives

    using System;
    using System.Web.UI;

    #endregion

    public partial class SelectVisitSite : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        protected void edt_continue_Click(object sender, EventArgs e)
        {
            this.pnlPreface.Visible = false;
            this.pnlAgreement.Visible = true;
        }

        protected void edt_Agree_Click(object sender, EventArgs e)
        {
            this.pnlAgreement.Visible = false;
            this.pnlMain.Visible = true;
        }

        protected void edt_Disagree_Click(object sender, EventArgs e)
        {
            this.Server.Transfer("View/MyDrafts.aspx");

        }

        protected void rblSites_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.pnlReference.Visible = this.rblSites.SelectedValue.Equals("Oversea");
        }
    }
}